package com.wy2.eclipse.tool.lib.git;

public class PushRun extends AbstractGitRun {

    private Boolean force=false;
    
    public PushRun() {
        super();
    }

    public PushRun(String branch, String userName, String password,Boolean force) {
        super(branch, userName, password);
        this.force=force;
    }

    @Override
    public void run(GitClient gitClient) throws Exception {
        gitClient.push(getBranch(), getUserName(), getPassword(),force);

    }

}
